package com.ai.mall.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 秒杀活动表
 * 
 * @author easue
 * @email sunlightcs@gmail.com
 * @date 2025-01-21 14:40:34
 */
@Data
@TableName("flash_sales")
public class FlashSalesEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 秒杀活动ID
	 */
	@TableId
	private Integer saleId;
	/**
	 * 商品ID
	 */
	private Integer productId;
	/**
	 * 开始时间
	 */
	private Date startTime;
	/**
	 * 结束时间
	 */
	private Date endTime;
	/**
	 * 秒杀价格
	 */
	private BigDecimal salePrice;
	/**
	 * 秒杀库存
	 */
	private Integer saleStock;

}
